package com.glela.common.util;

import java.net.URLEncoder;
import java.util.Date;

/** 
* @author  wuyue
* @date 创建时间：2017年9月11日 下午2:11:46 
* @version 1.0 
* @parameter  
* @since  
* @return  
*/
public class SmsContents {
	
	/*String content = "account=" + "jzyy302" + "&" + "password=" + "31268545" + "&" + "sendDateTime=" + "" + "&" + "destmobile=" + "15102159965" + "&"
	        + "msgText=" + URLEncoder.encode("验证码：123【建周科技】", "UTF-8");*/
	
	private String account;
	private String password;
	private Date sendDateTime;
	private String destmobile;
	private String msgText;
	
	
	
	


	public SmsContents(String account, String password, String destmobile, String msgText) {
		super();
		this.account = account;
		this.password = password;
		this.destmobile = destmobile;
		this.msgText = msgText;
	}

	public SmsContents(String destmobile, String msgText) {
		super();
		this.account = "sdk_xiaozhuang";
		this.password = "hvf2v8xh";
		this.destmobile = destmobile;
		this.msgText = msgText;
	}

	@Override
	public String toString() {
		return "account=" + account + "&password=" + password + "&sendDateTime=" + "&destmobile=" + destmobile + "&msgText=" + msgText;
	}
	
	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public Date getSendDateTime() {
		return sendDateTime;
	}
	public void setSendDateTime(Date sendDateTime) {
		this.sendDateTime = sendDateTime;
	}
	public String getDestmobile() {
		return destmobile;
	}
	public void setDestmobile(String destmobile) {
		this.destmobile = destmobile;
	}
	public String getMsgText() {
		return msgText;
	}
	public void setMsgText(String msgText) throws Exception {
		this.msgText = msgText;
	}
	
}
